Optimal. Leaf size=786 \[ -\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \text {ArcTan}\left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \text {ArcTan}\left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {PolyLog}\left (2,-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {PolyLog}\left (2,\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.89, antiderivative size = 786, normalized size of antiderivative = 1.00, number of steps
used = 47, number of rules used = 11, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.611, Rules used = {6428, 5959,
5909, 5963, 95, 211, 5962, 5681, 2221, 2317, 2438} \begin {gather*} -\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}+1\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {c^2 d+e}+\sqrt {e}}+1\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \text {ArcTan}\left (\frac {\sqrt {\frac {1}{c x}+1} \sqrt {c d-\sqrt {-d} \sqrt {e}}}{\sqrt {\frac {1}{c x}-1} \sqrt {c d+\sqrt {-d} \sqrt {e}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \text {ArcTan}\left (\frac {\sqrt {\frac {1}{c x}+1} \sqrt {c d+\sqrt {-d} \sqrt {e}}}{\sqrt {\frac {1}{c x}-1} \sqrt {c d-\sqrt {-d} \sqrt {e}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {d c^2+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {d c^2+e}}\right )}{4 (-d)^{3/2} \sqrt {e}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 95
Rule 211
Rule 2221
Rule 2317
Rule 2438
Rule 5681
Rule 5909
Rule 5959
Rule 5962
Rule 5963
Rule 6428
Rubi steps
\begin {align*} \int \frac {a+b \text {sech}^{-1}(c x)}{\left (d+e x^2\right )^2} \, dx &=-\text {Subst}\left (\int \frac {x^2 \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{\left (e+d x^2\right )^2} \, dx,x,\frac {1}{x}\right )\\ &=-\text {Subst}\left (\int \left (-\frac {e \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{d \left (e+d x^2\right )^2}+\frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{d \left (e+d x^2\right )}\right ) \, dx,x,\frac {1}{x}\right )\\ &=-\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{e+d x^2} \, dx,x,\frac {1}{x}\right )}{d}+\frac {e \text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\left (e+d x^2\right )^2} \, dx,x,\frac {1}{x}\right )}{d}\\ &=-\frac {\text {Subst}\left (\int \left (\frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{2 \sqrt {e} \left (\sqrt {e}-\sqrt {-d} x\right )}+\frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{2 \sqrt {e} \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )}{d}+\frac {e \text {Subst}\left (\int \left (-\frac {d \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{4 e \left (\sqrt {-d} \sqrt {e}-d x\right )^2}-\frac {d \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{4 e \left (\sqrt {-d} \sqrt {e}+d x\right )^2}-\frac {d \left (a+b \cosh ^{-1}\left (\frac {x}{c}\right )\right )}{2 e \left (-d e-d^2 x^2\right )}\right ) \, dx,x,\frac {1}{x}\right )}{d}\\ &=-\left (\frac {1}{4} \text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\left (\sqrt {-d} \sqrt {e}-d x\right )^2} \, dx,x,\frac {1}{x}\right )\right )-\frac {1}{4} \text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\left (\sqrt {-d} \sqrt {e}+d x\right )^2} \, dx,x,\frac {1}{x}\right )-\frac {1}{2} \text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{-d e-d^2 x^2} \, dx,x,\frac {1}{x}\right )-\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{2 d \sqrt {e}}-\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{2 d \sqrt {e}}\\ &=-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}-\frac {1}{2} \text {Subst}\left (\int \left (-\frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{2 d \sqrt {e} \left (\sqrt {e}-\sqrt {-d} x\right )}-\frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{2 d \sqrt {e} \left (\sqrt {e}+\sqrt {-d} x\right )}\right ) \, dx,x,\frac {1}{x}\right )+\frac {b \text {Subst}\left (\int \frac {1}{\sqrt {-1+\frac {x}{c}} \sqrt {1+\frac {x}{c}} \left (\sqrt {-d} \sqrt {e}-d x\right )} \, dx,x,\frac {1}{x}\right )}{4 c d}-\frac {b \text {Subst}\left (\int \frac {1}{\sqrt {-1+\frac {x}{c}} \sqrt {1+\frac {x}{c}} \left (\sqrt {-d} \sqrt {e}+d x\right )} \, dx,x,\frac {1}{x}\right )}{4 c d}-\frac {\text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 d \sqrt {e}}-\frac {\text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 d \sqrt {e}}\\ &=-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \text {Subst}\left (\int \frac {1}{d+\frac {\sqrt {-d} \sqrt {e}}{c}-\left (-d+\frac {\sqrt {-d} \sqrt {e}}{c}\right ) x^2} \, dx,x,\frac {\sqrt {1+\frac {1}{c x}}}{\sqrt {-1+\frac {1}{c x}}}\right )}{2 c d}-\frac {b \text {Subst}\left (\int \frac {1}{-d+\frac {\sqrt {-d} \sqrt {e}}{c}-\left (d+\frac {\sqrt {-d} \sqrt {e}}{c}\right ) x^2} \, dx,x,\frac {\sqrt {1+\frac {1}{c x}}}{\sqrt {-1+\frac {1}{c x}}}\right )}{2 c d}+\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}-\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{4 d \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {a+b \cosh ^{-1}\left (\frac {x}{c}\right )}{\sqrt {e}+\sqrt {-d} x} \, dx,x,\frac {1}{x}\right )}{4 d \sqrt {e}}-\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 d \sqrt {e}}-\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 d \sqrt {e}}-\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 d \sqrt {e}}-\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{2 d \sqrt {e}}\\ &=-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}-\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {(a+b x) \sinh (x)}{\frac {\sqrt {e}}{c}+\sqrt {-d} \cosh (x)} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d \sqrt {e}}\\ &=-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}-\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d \sqrt {e}}+\frac {\text {Subst}\left (\int \frac {e^x (a+b x)}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}+\sqrt {-d} e^x} \, dx,x,\text {sech}^{-1}(c x)\right )}{4 d \sqrt {e}}\\ &=-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \log \left (1-\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \log \left (1+\frac {\sqrt {-d} e^x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right ) \, dx,x,\text {sech}^{-1}(c x)\right )}{4 (-d)^{3/2} \sqrt {e}}\\ &=-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{2 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}-\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Subst}\left (\int \frac {\log \left (1-\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {\sqrt {-d} x}{\frac {\sqrt {e}}{c}+\frac {\sqrt {c^2 d+e}}{c}}\right )}{x} \, dx,x,e^{\text {sech}^{-1}(c x)}\right )}{4 (-d)^{3/2} \sqrt {e}}\\ &=-\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}-\frac {d}{x}\right )}+\frac {a+b \text {sech}^{-1}(c x)}{4 d \left (\sqrt {-d} \sqrt {e}+\frac {d}{x}\right )}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}+\frac {b \tan ^{-1}\left (\frac {\sqrt {c d+\sqrt {-d} \sqrt {e}} \sqrt {1+\frac {1}{c x}}}{\sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {-1+\frac {1}{c x}}}\right )}{2 d \sqrt {c d-\sqrt {-d} \sqrt {e}} \sqrt {c d+\sqrt {-d} \sqrt {e}}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {\left (a+b \text {sech}^{-1}(c x)\right ) \log \left (1+\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}-\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}+\frac {b \text {Li}_2\left (-\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}-\frac {b \text {Li}_2\left (\frac {c \sqrt {-d} e^{\text {sech}^{-1}(c x)}}{\sqrt {e}+\sqrt {c^2 d+e}}\right )}{4 (-d)^{3/2} \sqrt {e}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 1.27, size = 1216, normalized size = 1.55 \begin {gather*} \frac {\frac {2 a \sqrt {d} x}{d+e x^2}+\frac {b \sqrt {d} \text {sech}^{-1}(c x)}{-i \sqrt {d} \sqrt {e}+e x}+\frac {b \sqrt {d} \text {sech}^{-1}(c x)}{i \sqrt {d} \sqrt {e}+e x}+\frac {2 a \text {ArcTan}\left (\frac {\sqrt {e} x}{\sqrt {d}}\right )}{\sqrt {e}}-\frac {4 b \text {ArcSin}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \tanh ^{-1}\left (\frac {\left (-i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )}{\sqrt {e}}+\frac {4 b \text {ArcSin}\left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \tanh ^{-1}\left (\frac {\left (i c \sqrt {d}+\sqrt {e}\right ) \tanh \left (\frac {1}{2} \text {sech}^{-1}(c x)\right )}{\sqrt {c^2 d+e}}\right )}{\sqrt {e}}-\frac {i b \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}-\frac {2 b \text {ArcSin}\left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}-\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}+\frac {i b \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}+\frac {2 b \text {ArcSin}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}+\frac {i b \text {sech}^{-1}(c x) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}-\frac {2 b \text {ArcSin}\left (\frac {\sqrt {1-\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}-\frac {i b \text {sech}^{-1}(c x) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}+\frac {2 b \text {ArcSin}\left (\frac {\sqrt {1+\frac {i \sqrt {e}}{c \sqrt {d}}}}{\sqrt {2}}\right ) \log \left (1+\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}-\frac {i b \log \left (\frac {2 i \sqrt {e} \left (\sqrt {d} \sqrt {\frac {1-c x}{1+c x}} (1+c x)+\frac {\sqrt {d} \sqrt {e}+i c^2 d x}{\sqrt {c^2 d+e}}\right )}{i \sqrt {d}+\sqrt {e} x}\right )}{\sqrt {c^2 d+e}}+\frac {i b \log \left (\frac {2 \sqrt {e} \left (i \sqrt {d} \sqrt {\frac {1-c x}{1+c x}} (1+c x)+\frac {i \sqrt {d} \sqrt {e}+c^2 d x}{\sqrt {c^2 d+e}}\right )}{-i \sqrt {d}+\sqrt {e} x}\right )}{\sqrt {c^2 d+e}}-\frac {i b \text {PolyLog}\left (2,-\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}+\frac {i b \text {PolyLog}\left (2,\frac {i \left (-\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}+\frac {i b \text {PolyLog}\left (2,-\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}-\frac {i b \text {PolyLog}\left (2,\frac {i \left (\sqrt {e}+\sqrt {c^2 d+e}\right ) e^{-\text {sech}^{-1}(c x)}}{c \sqrt {d}}\right )}{\sqrt {e}}}{4 d^{3/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 51.62, size = 1879, normalized size = 2.39
method | result | size |
derivativedivides | \(\text {Expression too large to display}\) | \(1879\) |
default | \(\text {Expression too large to display}\) | \(1879\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {asech}{\left (c x \right )}}{\left (d + e x^{2}\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )}{{\left (e\,x^2+d\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________